<?php
    header("Access-Control-Allow-Origin: *");
    header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
    include "../../config.php";




    $now_time = date("Y-m-d H:i:s");
    $_url=select_lines_all_items($table_prefix."facebook_page_url",'nid asc',"collect_status != 'done' or collect_status is null",'1');


    //删除所有url为空的数据
    $sql="delete from ".$table_prefix."facebook_page_url where url is null";
    $result=mysql_query($sql);



$data=$_url[0]['url'];
$arr['status'] = 200;
$arr['info'] = $data;
die(json_encode($arr));

?>



